package exceptprocess;

import java.util.Scanner;

public class MyExceptionTest {
    public static void main(String[] args) {
        try {
            test();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public static void test(){
        Scanner scanner = new Scanner(System.in);
        int i = scanner.nextInt();

        if (i > 100) {
            throw new MyException();
        }
    }
}
